<h2><?php echo __('Tag',true); ?></h2>
<?php

/**
 * Calculate step
 */
$step = ((30 - 10) / $spread);
foreach ($tags as $tag) {
	// Calculate font size for this tag
	$fontSize = (10 + ($tag[0]['PostCount'] - $minQuantity) * $step);
	//Link for tag
	echo $html->link($tag['tags']['tag'], '/articles/tag/'.$tag['tags']['tag'], array('title'=>$tag[0]['ArticleCount'].' Photos','rel'=>'tag','style' => 'font-size: '.$fontSize.'px;')).' ';
}
?>
<br clear="all" />
</div>

